import { post } from '@/utils/request'

export default {
  subjectList: () => post('/api/admin/education/subject/list'),
  list: () => post('/api/admin/education/phase/list'),
  parentPhase: () => post('/api/admin/education/phase/parentPhase'),
  treeList: () => post('/api/admin/education/phase/treeList'),
  pageList: query => post('/api/admin/education/phase/page', query),
  edit: query => post('/api/admin/education/phase/edit', query),
  select: id => post('/api/admin/education/phase/select/' + id),
  deletePhase: id => post('/api/admin/education/phase/delete/' + id),
  changeStatus: id => post('/api/admin/education/phase/changeStatus/' + id)
}
